package com.ynkbny.domain.mongo;

import cn.hutool.json.JSONObject;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 拉取数据 存在的问题
 *
 * @author : juzipi123
 * @date : 2023-7-20
 */
@Document(collection = "PandData") //拉取数据 存在的问题
public class PandData {

    @Id
    private String id;

    /**
     * 设备id
     */
    private String deviceId;

    /**
     * 项目id
     */
    private String projId;

    /**
     * 点位
     */
    private String flag;

    /**
     *其他数据
     */
    private JSONObject data;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getProjId() {
        return projId;
    }

    public void setProjId(String projId) {
        this.projId = projId;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public JSONObject getData() {
        return data;
    }

    public void setData(JSONObject data) {
        this.data = data;
    }
}
